<template>
  <div class="panel" v-if="position" :style="{
    top: position.y,
    left: position.x
  }">
<!--    <img src="https://pic.616pic.com/ys_bnew_img/00/41/94/BWWNuamHue.jpg" style="width: 200px;height: 100px">-->
  </div>
</template>

<script>
  export default {
    name: "panel",
    props: {
      position: {
        type: Object
      }
    },
  }
</script>

<style scoped>
.panel{
  display: block;
  position: absolute;
  border: 2px solid #ccc;
  background-color: rgba(0,0,0,1);
  border-radius: 5px;
  padding: 10px;
  z-index: 99999999999999;
}
</style>
